home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / battlefi.swf / scripts / DefineSprite_428 / frame_2 / PlaceObject2_188_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2010-11-09  |  184b  |  10 lines

  1. onClipEvent(enterFrame){
  2.    this._y += 20;
  3.    this._x -= 10;
  4.    if(this._y > Stage.height)
  5.    {
  6.       this._y = random(400) - 450;
  7.       this._x = random(Stage.width);
  8.    }
  9. }
  10.